package cn.kgc.mapper;

import cn.kgc.pojo.Standard;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StandardMapper {

    int getCount(@Param("zhname") String zhname);

    List<Standard> getByPage(@Param("pageNo") Integer pageNo,
                                   @Param("pageSize") Integer pageSize,
                                   @Param("zhname") String zhname);

    Standard getStandardById(@Param("id") Integer id);

    int updateStandard(Standard standard);

    int addStandard(Standard standard);

    int delId(Integer id);

    Standard getName(@Param("stdNum")String stdNum);
}
